<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="../common/init_context.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>国付宝收银台 - 订单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/reset.css" media="all" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/style.css" media="all" />
<link type="text/css" rel="stylesheet" href="${ROOT}/static/css/ui-lightness/jquery-ui-1.9.2.custom.css" media="all" />
<script type="text/javascript" src="${ROOT}/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/jquery.gopay.ext.js"></script>

<script type="text/javascript" src="${ROOT}/static/js/gopay/PwdControl.js"></script>
<script type="text/javascript" src="${ROOT}/static/js/gopay/payConfirm.js"></script>
<!--[if IE 6]> 
<script src="../javascripts/png_ie6fix.js" type="text/javascript"></script> 
<script type="text/javascript">
EvPNG.fix("div, span,a");
</script>

<![endif]-->

<script type="text/javascript">
	var ctx='${ctx}';
</script>
</head>
<body>
<%@include file="../common/header.jsp"%>
<div class="container1024">
	<div class="container960">
		<!-- 支付订单详情 -->
		<jsp:include page="payInfoHead.jsp" flush="true"></jsp:include>
		<div class="borderBox-3">
			<div class="titleBox-1">
				<h6>支付确认</h6>
			</div>
		<form action="${ctx }/sec/pay/confirm.shtml?orderKey=<%=request.getParameter("orderKey")%>&orderId=${orderId}" method="post" id="payConfirmForm" name="payConfirmForm" target="_blank">
			<table class="table-tml">
				<tbody>
				<c:if test="${payWay eq 'S' }">
					<tr>
						<th width="305px">G商银通会员帐户支付：</th>
						<td><span class="red">${acctPayAmt }元</span></td>
					</tr>
					<tr>
						<th width="305px">${bankName }（网银支付）：</th>
						<td><span class="red">${bankPayAmt }元</span></td>
					</tr>
				</c:if>
				<c:if test="${payWay eq 'F' }">
					<tr>
						<th width="305px">${bankName }（网银支付）：</th>
						<td><span class="red">${payAmt }元</span></td>
					</tr>
				</c:if>
				<c:if test="${needPaypwd eq 'y' }">
					<tr id="payConfirmSubmitTr">
						<th>支付密码：</th>
						<td><div id="payConfirmPwdDiv"></div></td>
					</tr>
				</c:if>
					<tr>
						<td colspan="2" align="center" height="100px"><button type="button" id="payConfirmSubmitId" class="btn-1" onclick="payConfirmSubmit();">确 定</button></td>
					</tr>
				</tbody>
			</table>
			<input type="hidden" name="needPaypwd" id="needPaypwd" value="${needPaypwd }"/>
			<input type="hidden" name="formhash" id="formhash" value="${formhash }"/>
            <input type="hidden" name="orderId" id="orderId" value="${orderId}"/>
            <input type="hidden" name="orderKey" id="orderKey" value="<%=request.getParameter("orderKey")%>"/>
		</form>
		</div>
	</div>
	<br>
</div>

<div id="dialogSubmitBank">
	<ul class="dialogSubmitBankUl">
		<li>请到新打开的网银页面进行操作</li>
		<li><span class="red">操作未完成前请不要关闭本页面</span></li>
		<li>如果您已经完成相关操作，请点击查询结果信息</li>
		<li>支付完成：<button type="button" class="btn-2" onclick="window.location.href='${portalUrl}'">查询结果</button></li>
		<li><span class="font12 color-66">
			如果您的银行卡已被扣款但支付没有成功，或遇到问题，请不要着急，<a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzkzODAyMzg2MV8zMjA5MjJfNDAwMDU1MDAwOV8yXw">在线客服</a>或
			<a href="https://www.gopay.com.cn/helpcenterV2/channel-7100.html">帮助中心</a>会帮您尽快解决。
		</span></li>
	</ul>
</div>

<%@include file="../common/footer.jsp"%>
</body>
</html>
